package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Officialstu;
import cn.wolfcode.crm.domain.Refund;
import cn.wolfcode.crm.query.QueryForObject;

import java.util.List;

public interface RefundMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Refund record);

    Refund selectByPrimaryKey(Long id);

    List<Refund> selectAll();

    int updateByPrimaryKey(Refund record);

    //分页
    int queryForCount(QueryForObject qo);
    List<Refund> queryForList(QueryForObject qo);

    void changeState(Long feeId);
}